home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10547 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.lang.c++
  2. Path: challenger.sheridanc.on.ca!gerrity
  3. From: gerrity@challenger.sheridanc.on.ca (jason gerrity)
  4. Subject: Dos Environment Variables
  5. Message-ID: <DnyIxM.JHF@relay.sheridanc.on.ca>
  6. Sender: news@relay.sheridanc.on.ca (USENET News System)
  7. Nntp-Posting-Host: challenger.sheridanc.on.ca
  8. Organization: Sheridan College, Ont., Canada
  9. X-Newsreader: TIN [version 1.2 PL2]
  10. Date: Fri, 8 Mar 1996 16:24:57 GMT
  11.  
  12.  
  13. Does anyone know of a way to set a DOS environment variable within
  14. a cpp program that will stay set after the program terminates?
  15.  
  16. Both putenv and system will only set an environment variable for
  17. the duration of the cpp program...
  18.  
  19. thanks,
  20.  
  21. Jason
  22.  
  23. ----------------------------------------------------------------------------- 
  24. Jason Gerrity                     "The whole world's a stage...and this is  
  25. Information Technology             just the end of act 1"
  26. 1430 Trafalgar Rd.                 
  27. Oakville, Ont.                     Voice (905)-845-9430 ext. 2177  
  28. L6H 2L1                            Fax   (905)-815-4011
  29.                                    Email jason.gerrity@sheridanc.on.ca
  30. -----------------------------------------------------------------------------
  31.  
  32.